Skip to main content

EnumCell

DataGrid cells for enums fields.
<EnumCell
field={'state'}
options={{
draft: 'Draft',
published: 'Published',
removed: 'Removed',
}}
header={'State'}
/>
EnumCellProps
EnumCellProps
Intersection of
DataGridColumnPublicProps
DataGridColumnPublicProps
Intersection of
DataGridHeaderCellPublicProps
DataGridHeaderCellPublicProps
ascOrderIcon
React.ReactNode
descOrderIcon
React.ReactNode
header
React.ReactNode
headerJustification
Justification
shrunk
boolean
DataGridCellPublicProps
DataGridCellPublicProps
canBeHidden
boolean
hidden
boolean
justification
Justification
shrunk
boolean
DataGridColumnPublicProps
children
React.ReactNode
columnKey
string
FieldFallbackViewPublicProps
FieldFallbackViewPublicProps
Partial
FieldFallbackViewProps
FieldFallbackViewProps
fallback
React.ReactNode
fallbackStyle
| undefined| FieldFallbackViewStyle
NullConditionFilterPublicProps
NullConditionFilterPublicProps
NullConditionFilterPublicProps
showNullConditionFilter
boolean
EnumCellProps
field*
SugaredFieldProps["field"]
format
(value: | string| null) => React.ReactNode
initialFilter
EnumCellArtifacts
options*
Record<string, string>